/*@font-face {
    font-family: 'CamingoCode-Regular';   !*字体名称*!
    src: url('./font/CamingoCode-Regular.ttf');       !*字体源文件*!
}*/

$colorL: #ff9501;

.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.header{
  width: 1200px;
  height: 45px;
  margin: 0 auto;
  border-bottom: 1px solid #eee;
  .header-l{
    float: left;
    height: 45px;
    font-size: 12px;
    p{
      display: inline-block;
      line-height: 45px;
    }
    .notice{
      color: red
    }
    .collection{
      padding: 0 10px;
      a{
        color: #555;
      }
      a:hover{
        color: #222;
      }
    }
  }
  .header-r{
    float: right;
    font-size: 14px;
    ul{
      height: 45px;
      line-height: 45px;
      li{
        float: left;
        a{
          padding: 0 10px;
          border-right: 1px solid #e4e4e4;
          color: #555;
        }
        a.b-r{
          border-right: 0;
        }
        a:hover{
          color: #222;
        }
      }
    }
  }
}

/* 游戏图标+名字样式 */
.play-list{
  dl{
    float: left;
    width: 100px;
    padding-top: 16px;
    dt{
      border-radius: 10px;
      overflow: hidden;
      a{
        display: block;
        width: 76px; height: 76px;
        margin: 0 auto;
        img{
          width: 100%; height: 100%;
        }
      }
    }
    dd{
      padding: 8px 0;
      height: 12px;
      a{
        display: block;
        width: 100%;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #555555;
      }
    }
  }
}

.main{
  width: 1200px;
  margin: 0 auto;
  font-family: "SimHei";
  .main-top{
    .logo{
      float: left;
      height: 135px;
      img{
        margin-top: 16px;
      }
    }
    .nav{
      float: left;
      ul{
        margin-top: 40px;
        margin-left: 70px;
        li{
          float: left;
          height: 20px;
          //padding: 0 12px;
          a{
            display: inline-block;
            height: 20px;
            font-size: 20px;
            font-weight: 600;
            line-height: 20px;
            vertical-align: middle;
            color: #444;
          }
          a.active{
            color: $colorL;
          }
          i{
            display: inline-block;
            width: 7px;
            height: 20px;
            margin: 0 16px;
            vertical-align: middle;
            background: url("../img/line.gif");
          }
        }
      }
    }
    .search{
      float: right;
      width: 250px; height: 50px;
      margin-top: 24px;

      border: 2px solid $colorL;
      border-radius: 27px;
      input{
        float: left;
        width: 180px;
        height: 30px;
        border: 0;
        margin-top: 9px;
        margin-left: 15px;
        background: #fff;
        outline: none;
        font-size: 18px;
        font-weight: bold;
      }
      a{
        float: right;
        width: 50px;
        height: 50px;
        background: url("../img/search.gif") no-repeat 6px 8px;
      }
    }
  }
  .main-recom{
    padding-bottom: 70px;
    .top{
      height: 53px;
      border-bottom: 2px solid #ff9501;
      .recom-bg{
        float: left;
        width: 136px;
        height: 100%;
        background: url("../img/recom.png") no-repeat;
      }
      i.line{
        float: left;
        width: 1px;
        height: 20px;
        margin: 10px 36px;
        background: #ccc;
      }
      .play{
        float: left;
        height: 40px;
        a{
          display: block;
          height: 24px;
          padding-left: 40px;
          margin-top: 10px;
          background: url("../img/game-recom.gif") no-repeat;
          font-size: 20px;
          line-height: 20px;
          color: #444;
        }
      }
    }
  }
  .main-new{
    .new-l{
      float: left;
      width: 708px;
      height: 670px;
      border: 1px solid #eee;
      border-radius: 10px;
      .top{
        height: 50px;
        margin: 0 12px;
        border-bottom: 2px solid $colorL;
        .new-icon{
          float: left;
          background: url("../img/game-new.gif") no-repeat 0 6px;
          font-size: 26px;
          text-indent: 40px;
          line-height: 50px;
        }
        .play{
          float: right;
          font-size: 16px;
          line-height: 50px;
          a{
            color: #555;
          }
        }
      }
      .new-game{
        width: 700px;
        margin: 0 auto;
      }
    }
    .new-r{
      float: right;
      width: 480px;
      height: 670px;
      border: 1px solid #eee;
      border-radius: 10px;
      .top{
        height: 50px;
        margin: 0 12px;
        border-bottom: 2px solid $colorL;
        .new-icon{
          float: left;
          background: url("../img/game-gonggao.gif") no-repeat 0 6px;
          font-size: 26px;
          text-indent: 40px;
          line-height: 50px;
        }
        .play{
          float: right;
          font-size: 16px;
          line-height: 50px;
          a{
            color: #555;
          }
        }
      }
      .notice{
        margin: 0 12px;
        border-bottom: 1px dashed #ccc;
        .notice-i{
          .title{
            font-size: 26px;
            line-height: 50px;
            text-align: center;
          }
          .text{
            font-size: 16px;
            line-height: 32px;
            color: #999;
          }
          a.xq{
            font-size: 16px;
            line-height: 32px;
            color: $colorL
          }
        }
      }
      ul.news{
        margin: 0 12px;
        li{
          height: 39px;
          line-height: 20px;
          span{
            float: left;
            width: 46px;
            height: 20px;
            margin-top: 10px;
            border-right: 2px solid #999;
            color: $colorL;
            font-size: 16px;
          }
          a{
            float: left;
            width: 400px;
            height: 20px;
            margin-top: 10px;
            text-indent: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #555555;
          }
          a:hover{
            color: #ff6f58;
          }
        }
      }
    }
  }
  .center-img{
    width: 100%;
    padding: 40px 0;
    img{
      width: 100%; height: 100%;
    }
  }
  .network-game{
    .top{
      height: 50px;
      margin: 0 12px;
      border-bottom: 2px solid $colorL;
      .new-icon{
        float: left;
        background: url("../img/game-net.gif") no-repeat 0 6px;
        font-size: 26px;
        text-indent: 40px;
        line-height: 50px;
      }
      .play{
        float: right;
        font-size: 16px;
        line-height: 50px;
        a{
          color: #555;
        }
      }
    }
    .game-content{
      margin-top: 20px;
      dl{
        float: left;
        width: 280px;
        margin: 0 10px;
        height: 175px;
        dt{
          height: 125px;
          img{
            width: 100%; height: 100%;
          }
        }
        dd{
          height: 30px;
          padding-bottom: 20px;
          text-align: center;
          line-height: 30px;
          a{
            color: #555;
          }
        }
      }
    }
  }
  .dj-game{
    .new-l{
      float: left;
      width: 708px;
      height: 670px;
      border: 1px solid #eee;
      border-radius: 10px;
      .top{
        height: 50px;
        margin: 0 12px;
        border-bottom: 2px solid $colorL;
        .new-icon{
          float: left;
          background: url("../img/game-dj.gif") no-repeat 0 6px;
          font-size: 26px;
          text-indent: 40px;
          line-height: 50px;
        }
        .play{
          float: right;
          font-size: 16px;
          line-height: 50px;
          a{
            color: #555;
          }
        }
      }
      .new-game{
        width: 700px;
        margin: 0 auto;
      }
    }
    .new-r{
      float: right;
      width: 480px;
      height: 670px;
      .get_gift{
        height: 330px;
        border: 1px solid #eee;
        border-radius: 10px;
        .top{
          height: 50px;
          margin: 0 12px;
          border-bottom: 2px solid $colorL;
          .new-icon{
            float: left;
            font-size: 26px;
            text-indent: 40px;
            line-height: 50px;
          }
          .play{
            float: right;
            font-size: 16px;
            line-height: 50px;
            a{
              color: #555;
            }
          }
        }

      }
      .get_gift1{
        .top .new-icon{
          background: url("../img/game-gift.gif") no-repeat 0 6px;
        }
        ul{
          margin: 0 12px;
          li{
            padding: 5px 0;
            div.p1{
              height: 16px;
              margin: 5px 0;
              background: url("../img/li_ico.png") no-repeat 10px center;
              font-size: 14px;
              line-height: 16px;
              .p1_1{
                float: left;
                min-width: 230px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                text-indent: 30px;
                a{
                  color: #555;
                }
              }
              .p1_2{
                float: right;
                width: 100px;
                text-align: right;
                color: red;
              }
            }
            div.p2{
              display: none;
            }
          }
          li.hover{
            padding: 0;
            div.p1{
              display: none;
            }
            div.p2{
              display: block;
              position: relative;
              height: 134px;
              p.p2_1{
                float: left;
                width: 108px;
                height: 108px;
                margin-top: 13px;
                a{
                  img{
                    width: 100%; height: 100%;
                  }
                }
              }
              p.p2_2{
                float: left;
                width:250px;
                height: 108px;
                margin-top: 13px;
                margin-left: 15px;
                > span{
                  display: block;
                  height: 36px;
                }
                .p2_s_1{
                  font-size: 18px;
                  font-weight: 600;
                  line-height: 36px;

                  a{
                    color: #555;
                  }
                }
                .p2_s_2{
                  padding-top: 9px;
                  strong{
                    float: left;
                    width: 200px;
                    height: 18px;
                    background: #eee;
                    overflow: hidden;
                    border-radius: 9px;
                    em{
                      display: block;
                      height: 100%;
                      background: #f7c728;
                    }
                  }
                  i{
                    float: right;
                    height: 18px;
                    line-height: 18px;
                  }
                }
                .p2_s_3{
                  color: #555;
                }
              }
              p.p2_3{
                float: right;
                width: 76px; height: 38px;
                margin-top: 47px;
                background: #3bb70b;
                border-radius: 3px;
                a{
                  display: block;
                  width: 100%;
                  height: 100%;
                  text-align: center;
                  line-height: 38px;
                }
              }
            }
          }
        }
      }
      .get_gift2{
        margin-top: 8px;
        .top .new-icon{
          background: url("../img/game-zxzt.gif") no-repeat 0 10px;
        }
        ul{
          margin: 0 12px;
          li{
            padding: 5px 0;
            div.p1{
              height: 16px;
              margin: 5px 0;
              background: url("../img/li_ico.png") no-repeat 10px center;
              font-size: 14px;
              line-height: 16px;
              .p1_1{
                float: left;
                min-width: 230px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                text-indent: 30px;
                a{
                  color: #555;
                }
              }
              .p1_2{
                float: right;
                width: 100px;
                text-align: right;
                color: red;
              }
            }
            div.p2{
              display: none;
            }
          }
          li.hover{
            div.p1{
              display: none;
            }
            div.p2{
              display: block;
              height: 160px;
              background: red;
              a{
                display: block;
                width: 100%;
                height: 100%;
                img{
                  width: 100%;
                  height: 100%;
                }
              }
            }
          }
        }
      }


    }
  }
  .game-list{
    .top{
      height: 50px;
      margin: 0 12px;
      border-bottom: 2px solid $colorL;
      .new-icon{
        float: left;
        background: url("../img/game-list.gif") no-repeat 0 6px;
        font-size: 26px;
        text-indent: 40px;
        line-height: 50px;
      }
    }
    .content{
      //margin: 0 12px;
      .rank{
        float: left;
        width: 30.33%;
        margin: 0 1.5%;
        .title{
          height: 35px;
          padding-top: 15px;
          line-height: 20px;
          .text{
            float: left;
            padding-left: 10px;
            border-left: 2px solid $colorL;
            font-size: 16px;
            font-weight: bold;
          }
          .play{
            float: right;
            font-size: 14px;
            a{
              color: #555;
            }
          }
        }
        table{
          width: 100%;
          font-size: 14px;
          tr{
            border: 1px solid #f3f3f3;
          }
          tr th{
            height: 38px;
            background: #f8f8f8;
            line-height: 38px;
            color: #888;
          }
          tr .th1{
            width: 50px;
          }
          tr .th2{
            width: 160px;
            text-align: left;
          }
          tr .th3{
            width: 80px;
          }
          tr .th4{
            width: 80px;
          }
          tr .td1{
            height: 32px;
            span{
              display: block;
              width: 20px;
              height: 18px;
              margin: 7px auto;
              background: #ddd;
              border-radius: 3px;
              text-align: center;
              line-height: 18px;
              color: #fff;
            }
          }
          tr .td2{
            text-align: left;
          }
          tr .td3{
            text-align: center;
          }
          tr .td4{
            text-align: right;
            i{
              float: right;
              width: 20px;
              height: 14px;
            }
            i.up{
              background: url("../img/up.png") no-repeat 5px 1px;
            }
            i.down{
              // 这里预留排名下降样式，现在没图标
              background: url("../img/up.png") no-repeat 4px 1px;
              transform: rotateZ(180deg);
            }
          }
          tr.pm1 td span{
            background: #ff5a19;
          }
          tr.pm2 td span{
            background: #fb9220;
          }
          tr.pm3 td span{
            background: #fbc520;
          }
        }
      }
    }
  }
}


.footer{
  width: 100%;
  height: 132px;
  margin-top: 100px;
  background: #333333;
  .footer-content {
    color: #e6e0d8;
    font-size: 14px;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    div {
      float: left;
    }
    .aboutUs {
      padding: 22px 0 0 40px;
      p {
        span {
          line-height: 30px;
          height: 30px;
          float:left;
        }
        .licence2 {
          padding-left: 20px;
          background: url("../img/police.png") no-repeat 0 3px;
          background-size: 18px;
        }
      }
      .link {
        height: 14px;
        padding: 8px 0;
        li {
          height: 100%;
          float: left;
          line-height: 18px;
          padding-right: 12px;
          a {
            color: #e6e0d8;
          }
        }
        li+li {
          border-left: 1px solid #e6e0d8;
          padding-left: 12px;
        }
      }
      .copyright {
        li {
          height: 30px;
          line-height: 30px;
          float:left;
          padding-right: 12px;
        }
        .licence1 {
          padding-left: 17px;
          background: url("../img/ghs.png") no-repeat 0 5px;
          background-size: 17px;
        }
      }
    }
    .code {
      padding-left: 46px;
      width: 118px;
      img{
        display: block;
        margin: 16px auto 0;
        width: 78px;
        height: 78px;
      }
      p {
        line-height: 38px;
        text-align: center;
      }
    }
  }
}